import Vue from 'vue';
import Dragui from './index.vue';
import {Form,FormItem,Input,ColorPicker,Button,Popconfirm,Popover,Tabs,Radio,RadioGroup,RadioButton,Slider,Table,TableColumn,
  Pagination,TabPane,InputNumber,Checkbox,Dialog,Row,Col,Loading,Divider,Upload,Cascader,Tooltip } from 'element-ui';

Vue.use(Form)
.use(FormItem)
.use(Input)
.use(ColorPicker)
.use(Button)
.use(Popconfirm)
.use(Popover)
.use(Tabs)
.use(Radio)
.use(RadioGroup)
.use(RadioButton)
.use(Slider)
.use(Table)
.use(TableColumn)
.use(Pagination)
.use(TabPane)
.use(InputNumber)
.use(Checkbox)
.use(Dialog)
.use(Row)
.use(Col)
.use(Loading)
.use(Divider)
.use(Upload)
.use(Cascader)
.use(Tooltip);


Dragui.install = function() {
  Vue.component(Dragui.name, Dragui);
};

export default Dragui;